Component({
  data: {
    result: ["a", "b"],
  },
  methods: {
    onChange(event: WechatMiniprogram.CustomEvent) {
      this.setData({
        result: event.detail as unknown as string[],
      });
    },
  },
});
